{extend name="base/base-order-layout"/}

{block name="linkCss"}
<link rel="stylesheet" href="__STATIC__/css/goods/goods.css">
<link rel="stylesheet" href="__STATIC__/css/order/order-form.css">
<link rel="stylesheet" href="__STATIC__/css/order/order-evaluate.css">
{/block}

{block name="breadcrumb"}
<a>商家管理中心</a>
<a>订单管理</a>
<a>评价管理</a>
{/block}

{block name="main"}
<div class="goodlist">
    <div class="menu-bar">
        <ul>
            <li class="active"><a href="">来自买家的评价</a></li>
        </ul>
    </div>
    {if $op == ''}
    <div class="section1">
        <div class="table-wrap">
            <form class="layui-form" lay-verType="alert" id="form" method="post">
                <table class="table-list-style" width="100%" cellspacing="0" cellpadding="0">
                    <tbody>
                    <tr>
                        <th width="120">订单号</th>
                        <th class="tl">商品</th>
                        <th width="100">商品评价</th>
                        <th width="120">评价人</th>
                        <th width="120">操作</th>
                    </tr>

                    <tr>
                        <td><a target="_blank" href="{:think\\Url::build('detail')}">23201712206082273</a></td>
                        <td>
                            <dl class="fn-clear">
                                <dt><a target="_blank" href="index.php?m=goods&amp;s=detail&amp;id=1083"><img src="http://www.jiushouguoji.hk/uploadfile/goods/8/2016/07/14/1468464994.jpg_60X60.jpg"></a></dt>
                                <dd><a target="_blank" href="index.php?m=goods&amp;s=detail&amp;id=1083">测试商品</a></dd>
                                <dd class="price">¥0.20</dd>
                            </dl>
                        </td>
                        <td><span class="rating f5"></span></td>
                        <td>M15014340920<br>2018-01-10</td>
                        <td class="operate"><span><a href="{:think\\Url::build('evaluate','op=edit')}"><i class="iconfont icon-bianji"></i>解释</a></span></td>
                    </tr>
                    <tr>
                        <td><a target="_blank" href="{:think\\Url::build('detail')}">11201707185661779</a></td>
                        <td>
                            <dl class="fn-clear">
                                <dt><a target="_blank" href="index.php?m=goods&amp;s=detail&amp;id=1376"><img src="http://www.jiushouguoji.hk/uploadfile/goods/8/2017/02/18/1487402336.jpg_60X60.jpg"></a></dt>
                                <dd><a target="_blank" href="index.php?m=goods&amp;s=detail&amp;id=1376">高露洁（Colgate）备长炭洁净清爽牙膏 2盒装 300g 送牙刷</a></dd>
                                <dd class="price">¥63.00</dd>
                            </dl>
                        </td>
                        <td><span class="rating f5"></span></td>
                        <td>M13609179595<br>2017-10-12</td>
                        <td class="operate"><span><a href="{:think\\Url::build('evaluate','op=edit')}"><i class="iconfont icon-bianji"></i>解释</a></span></td>
                    </tr>

                    <tr>
                        <td class="toolBar" colspan="1">
                        </td>
                        <td colspan="99">
                            <div class="page">
                                <b>1</b>
                                <a href="?firstRow=10&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">2</a>
                                <a href="?firstRow=20&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">3</a>
                                <a href="?firstRow=30&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">4</a>
                                <a href="?firstRow=40&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">5</a>
                                <a href="?firstRow=50&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">6</a>
                                <a href="?firstRow=60&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">7</a>
                                <a href="?firstRow=70&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">8</a>
                                <a href="?firstRow=80&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">9</a>
                                <a href="?firstRow=90&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">10</a>
                                <a href="?firstRow=210&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">..22</a>
                                <a class="nextPage"
                                   href="?firstRow=10&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">下一页</a>
                            </div>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </div>
    </div>
    {else/}
    <div class="section2">
        <div class="edit-wrap">
            <div class="pannel-content">
                <form action="" class="layui-form">
                    <ul>
                        <li>
                            <div class="layui-form-item">
                                <label class="layui-form-label">评价内容：</label>
                                <div class="layui-input-block">
                                    <p>11111</p>
                                </div>
                            </div>
                        </li>
                        <li>
                            <div class="layui-form-item addr">
                                <label class="layui-form-label"><span class="req red">*</span>解释内容：</label>
                                <div class="layui-input-block">
                                    <textarea lay-verify="required" name="explain" placeholder="请输入内容" class="layui-textarea"></textarea>
                                </div>
                            </div>
                        </li>
                        <li>
                            <div class="layui-form-item">
                                <label class="layui-form-label"><span class="req red">*</span>状态：</label>
                                <div class="layui-inline">
                                    <input type="radio" name="gtype" value="1" title="显示" checked="">
                                    <input type="radio" name="gtype" value="0" title="置顶">
                                </div>
                            </div>
                        </li>
                        <li>
                            <div class="layui-form-item">
                                <label class="layui-form-label">
                                </label>
                                <div class="layui-input-block">
                                    <button class="layui-btn layui-btn-normal" lay-submit>确认提交</button>
                                </div>
                            </div>
                        </li>
                    </ul>
                </form>
            </div>
        </div>
    </div>
    {/if}
</div>
{/block}
